from gui . consts import gui_consts

class tkinter_fake :
    pass

class gui_consts_tests :
    'gui_consts'
    def __init__ ( self , test ) :
        self . _test = test
        self . _tkinter = tkinter_fake ( )
        self . _gui_consts = gui_consts ( tkinter = self . _tkinter )
    def test_gui_side_top ( self ) :
        self . _tkinter . TOP = 'my top'
        self . _test . assume_equal ( self . _gui_consts . gui_side_top ( ) , 'my top' )
    def test_gui_side_bottom ( self ) :
        self . _tkinter . BOTTOM = 'my bottom'
        self . _test . assume_equal ( self . _gui_consts . gui_side_bottom ( ) , 'my bottom' )
    def test_gui_fill_x ( self ) :
        self . _tkinter . X = 'my x'
        self . _test . assume_equal ( self . _gui_consts . gui_fill_x ( ) , 'my x' )
    def test_gui_relief_sunken ( self ) :
        self . _tkinter . SUNKEN = 'my sunken'
        self . _test . assume_equal ( self . _gui_consts . gui_relief_sunken ( ) , 'my sunken' )
    def test_gui_sticky_nesw ( self ) :
        self . _tkinter . N = [ 'my n' ]
        self . _tkinter . E = [ 'my e' ]
        self . _tkinter . S = [ 'my s' ]
        self . _tkinter . W = [ 'my w' ]
        self . _test . assume_equal ( self . _gui_consts . gui_sticky_nesw ( ) , [ 'my n' , 'my e' , 'my s' , 'my w' ] )
    def test_gui_anchor_center ( self ) :
        self . _tkinter . CENTER = 'my center'
        self . _test . assume_equal ( self . _gui_consts . gui_anchor_center ( ) , 'my center' )
    def test_gui_anchor_w ( self ) :
        self . _tkinter . W = 'my w'
        self . _test . assume_equal ( self . _gui_consts . gui_anchor_w ( ) , 'my w' )
    def test_gui_anchor_e ( self ) :
        self . _tkinter . E = 'my e'
        self . _test . assume_equal ( self . _gui_consts . gui_anchor_e ( ) , 'my e' )
    def test_gui_color_light_blue ( self ) :
        self . _test . assume_equal ( self . _gui_consts . gui_color_light_blue ( ) , 'LightBlue' )
